const http_host = window.location.host;
let ip_port = "";
if (http_host.indexOf("192.168.1.7") != -1) {
  ip_port = "http://192.168.1.3:8080"
} else {
  ip_port = "http://221.207.32.234:8808"
  // ip_port = "http://192.168.2.7:80"
}
export const KB_API = ip_port + "/kbdata-war/app/serviceApi"
// export const KB_API = ip_port + "/app/serviceApi"
export const URL_VERIFYCODE = ip_port + "/kbdata-war/app/verifyCode"
export const URL_IMAGE_VIEW = ip_port + "/kbdata-war/image/view/"
export const EXPORT_URL = ip_port + "/kbdata-war/app/export"
export const CONSTANT = {
  LIST_MONITOR_AND_SENSOR: 'listMonitorAndSensor',
  LIST_DATA_WARNING: 'listDataWarning',
  QUERY_REAL_DATA_BY_SENSOR_NO: 'queryRealDataBySensorNo',
  QUERY_WEATHER_INFO: 'queryWeatherInfo',

}